package mul.Logic;

import java.util.TimerTask;

public class SpawnTimer extends TimerTask {
	
	private GameState gs;
	
	public SpawnTimer(GameState gs) {
		this.gs = gs;
	}
	
	public void run() {
		if(!gs.isFrozen())
			gs.spawnCrate();
	}
	
}
